<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <meta name="renderer" content="webkit">
    <meta name="author" content="中文Lee 360811363@qq.com">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../../lib/layui-v2.6.3/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../css/public.css" media="all">
    <!--
    * [LupMisAllowedSync]
    * 本代码为系统自动生成代码，请根据自己业务进行修改;
    * 生成时间 2022-04-13 10:14:18;
    * 版权所有 2020-2022 lizhongwen，并保留所有权利;
    * 说明: 这不是一个自由软件！您只能在不用于商业目的的前提下对程序代码进行修改和使用；不允许对程序代码以任何形式任何目的的再发布;
    * 作者: 中文Lee;
    * 作者主页: http://www.lizhongwen.com;
    * 邮箱: 360811363@qq.com;
    * QQ: 360811363;
    -->
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <form class="layui-form" action="">
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 标题</label>
                    <div class="layui-input-block">
                       <input type="text" name="title"   lay-verType="msg" lay-verify="required" lay-reqtext="请输入标题" placeholder="请输入标题" autocomplete="off" class="layui-input data-check-type-none field-type-varchar ">
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 简介</label>
                    <div class="layui-input-block">
                        <textarea  name="remarks" lay-verType="msg" lay-verify="required" lay-reqtext="请输入简介" placeholder="请输入简介" autocomplete="off" class="layui-textarea data-check-type-none field-type-text"></textarea>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 内容</label>
                    <div class="layui-input-block">
                        <textarea style="visibility: hidden; height: 0px !important;top: 0px;position:absolute;" name="content" lay-verType="msg" lay-verify="required" lay-reqtext="请输入内容" placeholder="请输入内容" autocomplete="off"></textarea>
                        <div id="content" style="min-width:400px;"></div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 时间戳</label>
                    <div class="layui-input-block">
                       <input type="text" name="time_stamp" default-date="now"  lay-verType="msg" lay-verify="required" lay-reqtext="请输入时间戳" placeholder="请输入时间戳" autocomplete="off" class="layui-input data-check-type-timeMs field-type-bigint datetime">
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"> 生日</label>
                    <div class="layui-input-block">
                       <input type="text" name="birthday" default-date="now"  lay-verType="msg" lay-verify="" lay-reqtext="请输入生日" placeholder="请输入生日" autocomplete="off" class="layui-input data-check-type-ymd field-type-date date">
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 订单类别</label>
                    <div class="layui-input-block">
                        <div name="order_type" lay-verType="msg" tips="请选择订单类别" class="dict-radio layui-input data-check-type-none field-type-int" dict-code="test_order:type" lup-lay-verify="otherReq" lay-reqtext="请选择订单类别"></div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 用户</label>
                    <div class="layui-input-block">
                        <div style="min-width:200px;" search="tel,user_name" id="user_id" name="user_id" tips="请选择用户" class="db-table-xmMultiSelect data-check-type-none field-type-varchar" api="lup/testUser/lists"  key="id" val="tel,user_name" cut="-" lup-lay-verify="required" lay-reqText="请选择用户"></div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 订单标签</label>
                    <div class="layui-input-block">
                        <div name="order_tags" lay-verType="msg" tips="请选择订单标签" class="dict-checkbox layui-input data-check-type-none field-type-varchar" dict-code="order:tags" lup-lay-verify="otherReq" lay-reqtext="请选择订单标签"></div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"> 产品分类</label>
                    <div class="layui-input-block">
                        <div style="min-width:200px;" id="goods_type" name="goods_type" tips="请选择产品分类" class="tree-parent-xmMultiSelectNoPage data-check-type-none field-type-varchar" api="sys/catalog/lists"  key="id" val="name" cut="-" pid="1" lup-lay-verify="" lay-reqText="请选择产品分类"></div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 商品图片</label>
                    <div class="layui-input-block">
                        <input type="text" onclick="openUploadFileBox(this,'')" thumb="100,100,90|200,200,90" path="" exts="jpg|png" name="goods_photos" lay-verType="msg" lay-verify="required" lay-reqtext="请上传商品图片" placeholder="请上传商品图片" autocomplete="off" class="layui-input upload data-check-type-none field-type-varchar">
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 证据</label>
                    <div class="layui-input-block">
                        <div thumb="" path="" exts="jpg|png" name="certificate_photos" lup-lay-verify="required" lay-reqtext="请上传证据" placeholder="请上传证据" class="multiFile"></div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 代理商</label>
                    <div class="layui-input-block">
                        <div style="min-width:200px;" search="agent_name" id="agent_id" name="agent_id" tips="请选择代理商" class="db-table-xmSelect data-check-type-none field-type-bigint" api="lup/testAgent/lists"  key="id" val="agent_name" cut="-" lup-lay-verify="required" lay-reqText="请选择代理商"></div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-form-item">
                    <label class="layui-form-label"> 单附件(带描述)</label>
                    <div class="layui-input-block" style="display: flex;">
                        <textarea style="display:none" name="single_file_remarks" class="singleFileRemarksValue"></textarea>
                        <div style="display: flex;width: 40%;min-width: 100px;position: relative;">
                            <input type="text" ori-name=name="single_file_remarks" single-file-remarks-type="file" onclick="openUploadFileBox(this,'')" thumb="" path="" exts="" name="single_file_remarks_file" lay-verType="msg" lay-verify="" lay-reqtext="请上传单附件(带描述)" placeholder="请上传单附件(带描述)" autocomplete="off" class="layui-input upload singleFileRemarks_file">
                        </div>
                        <div style="display: flex;flex: 1;min-width: 100px;padding-left: 10px;">
                            <input type="text" ori-name="single_file_remarks" single-file-remarks-type="remarks" thumb="" path="" exts="" name="single_file_remarks_remarks" lay-verType="msg" lay-verify="" lay-reqtext="请输入单附件(带描述)描述" placeholder="请输入单附件(带描述)描述" autocomplete="off" class="layui-input singleFileRemarks_remarks">
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md12">
                <div class="layui-form-item">
                    <label class="layui-form-label"> 多附件(带描述)</label>
                    <div class="layui-input-block">
                        <div thumb="" path="" exts="" name="multi_file_Remarks" lup-lay-verify="" lay-reqtext="请上传多附件(带描述)" placeholder="请上传多附件(带描述)" class="multiFileRemarks"></div>
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> 时间戳（秒）</label>
                    <div class="layui-input-block">
                       <input type="text" name="time" default-date="now"  lay-verType="msg" lay-verify="required" lay-reqtext="请输入时间戳（秒）" placeholder="请输入时间戳（秒）" autocomplete="off" class="layui-input data-check-type-time field-type-int datetime">
                    </div>
                </div>
            </div>
            <div class="layui-col-md6">
                <div class="layui-form-item">
                    <label class="layui-form-label"><b style='color:red'>*</b> yyyymmddhhiiss</label>
                    <div class="layui-input-block">
                       <input type="text" name="c_time" default-date="now"  lay-verType="msg" lay-verify="required" lay-reqtext="请输入yyyymmddhhiiss" placeholder="请输入yyyymmddhhiiss" autocomplete="off" class="layui-input data-check-type-ymdhis field-type-datetime datetime">
                    </div>
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <button class="layui-btn" lay-submit="" lay-filter="form-submit">立即提交</button>
                </div>
            </div>
        </form>
    </div>
</div>
<script src="../../../js/run.js"></script>
<script src="./custom.js"></script>
<script src="../../../js/wangEditor.min.js"></script>
<!--<script src="../../../js/xss.min.js"></script>-->

<script type="text/javascript">
$init(function() {
    initDictData('add');
    initDbTableData('add');
    initTreeParentData('add');
    editor("content");

    //初始化上传附件
    initUploadFile();
    //初始化日历
    initCalendar();
    var gateway = getQueryString("gateway");
    frameSubmit(base_gateway + gateway, true, function(ret) {

    });
});
</script>
</body>
</html>
